import BackendEmail from './_backend_email.mdx';
import BackendStripe from './_backend_stripe.mdx';

<BackendEmail />

<BackendStripe />

##### Other optional backend vars:

| Name                                 | Description                                                                                                                                                                                                              | Example                                      |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------- |
| `SENTRY_DSN`                         | [Sentry](https://sentry.io/) client key                                                                                                                                                                                  | `https://(...)@(...).ingest.sentry.io/(...)` |
| `SOCIAL_AUTH_ALLOWED_REDIRECT_HOSTS` | Allowed hosts for OAuth redirection. Check [Python Social Auth](https://python-social-auth.readthedocs.io/en/latest/configuration/settings.html#processing-redirects-and-urlopen) package documentation for more details | `app.demo.saas.apptoku.com`                  |
| `SOCIAL_AUTH_FACEBOOK_KEY`           | Client key for Facebook OAuth integration                                                                                                                                                                                |                                              |
| `SOCIAL_AUTH_FACEBOOK_SECRET`        | Client secret for Facebook OAuth integration                                                                                                                                                                             |                                              |
| `SOCIAL_AUTH_GOOGLE_OAUTH2_KEY`      | Client key for Google OAuth integration                                                                                                                                                                                  |                                              |
| `SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET`   | Client secret for Google OAuth integration                                                                                                                                                                               |                                              |
| `SUBSCRIPTION_TRIAL_PERIOD_DAYS`     | Number of days for subscription trial. By default set to `7`                                                                                                                                                             | `1`                                          |
| `OPENAI_API_KEY`                     | OpenAI API for generative AI module                                                                                                                                                                                      |                                              |
| `VITE_WEB_APP_URL`                   | Absolute URL to web application. By default it's the value kept in global environment setting `SB_DOMAIN_WEB_APP`                                                                                                        | `https://app.demo.saas.apptoku.com`          |
